package com.wmx.singleton;

/**********************************
 * @author wmx
 * @date 2019/8/15 9:25
 * @description:
 * @version 1.0
 ************************************/
public class Singleton {

    public static void main(String[] args) {
        SingletonInstance singletonInstance = SingletonInstance.getInstance();
        SingletonInstance singletonInstance1 = SingletonInstance.getInstance();
        System.out.println(singletonInstance == singletonInstance1);

    }
}
